<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
       
       	
							
        <div class="container">          	
            <!-- Content Area For Each Page -->
            <div class="pmu-content-GiveTestPage">
                <div class="row testTitle">
                    <h4>For Sale - ${product.name }</h4>
                </div>
                <div class="row qcA_navA">
                    <div class="qMainArea">
                        <div class="qArea">
                            <div class="qTitleA">
                                <div class="qNumArea">
                                <% if((String)session.getAttribute("username")==null||((String)session.getAttribute("username")).equals(""))
                                {%>
                                
                                <% 
                                } 
                                else	
                                {
                                %>
                                    <strong>Product Image </strong><span class="badge">Seller: ${user.name }</span>
                                    <% } %>
                                </div>
                                <div class="qDescrip">


   <!-- Carousel indicators -->
   
   <!-- Carousel items -->
   <div class="carousel-inner">
      <div class="item active">
         <script>var val = "/BitsBazaar/getPhoto/" + ${image.id} + ".html"; document.getElementById(${image.id}).src = val;</script>
         <img id="${image.id}" width="400" height="400" src="" alt="First slide">
      </div>
   </div>
 
                                </div>
                            </div>
                            <div class="qOption">
							<strong>Product Description </strong><br/>
                            	${product.details}  
							
                            </div>
                        </div>
						<div class="btn_Area">
						    <div class="pull-left">
								 <button type="button" class="btn btn-info">Back to List</button>
							</div>
                        </div>
                    </div>
                    <div class="rightSection_ans pull-right">
                       <div id="showTime" class="timer"><h3><strong>Price (Rs):</strong> ${product.price}</h3></div>
					   <div class="questionPlatee">Details :</div>
					   <div class="qNumPanel">
					   Ad Posted On: <b>${product.createdDate }</b><br/>
					    <% if((String)session.getAttribute("username")==null||((String)session.getAttribute("username")).equals(""))
                                {%>
					   Seller: <b>XXXX</b><br/>
					   Phone: <b>XXXXXXXXXXXX</b>
					   			<% 
                                } 
                                else	
                                {
                                %>
									Seller: <b>${user.name }</b><br/>
					   Phone: <b>${user.mobNumber}</b>
									                                
                                    <% } %>
					   </div>
					   
					   <div class="legendInfo">
					      <div class="legendTxt">Location :</div>
			                  C. V. Raman Hostel
					   </div>
					   <div class="legendInfo">
					      <div class="legendTxt">NOTE :</div>
			                  1. Meet seller at a safe location<br/>
2. Check the item before you buy<br/>
3. Pay only after collecting the item<br/>
4. <b>Bits Bazaar is a classified only & is not responsible for the product/delivery</b><br/>
					   </div>
					   <div class="submisArea_ProfileBtn">
							<div class="margin5px">
							    <button type="button" class="btn btn-danger">Report Spam</button>
								<div class="pull-right"><button type="button" class="btn btn-success">Contact Seller</button></div>
							</div>
					   </div>
                    </div>
                </div>
            </div>
        </div>